<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <base href="<%=basePath%>"><title>My JSP 'save_plan_step.jsp' starting page</title>
        <meta http-equiv="pragma" content="no-cache">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="expires" content="0">
        <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
        <meta http-equiv="description" content="This is my page">
        <!--
        <link rel="stylesheet" type="text/css" href="styles.css">
        -->
		<link rel="stylesheet" href="lzm/css/add_plan_step.css" />
        <link rel="stylesheet" type="text/css" href="css/dialog/jquery.ui.all.css" />
        <link rel="stylesheet" type="text/css" href="lzm/css/save_plan_step.css" />
        <script src="js/jquery-1.4.2.min.js" type="text/javascript">
        </script>
		<script src="lzm/js/ajaxUtils.js" type="text/javascript">
        </script>
        <script src="lzm/js/save_plan_step.js" type="text/javascript">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.bgiframe-2.1.1.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.core.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.widget.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.mouse.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.button.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.draggable.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.position.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.resizable.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.ui.dialog.js">
        </script>
        <script type="text/javascript" src="js/dialog/jquery.effects.core.js">
        </script>
    </head>
    <body>
    	<!--
        <span>当前预案:<span id="crtPlan"></span></span>
		-->
		<div
			style="margin-left:20px;margin-top:20px;font-size: 16px; color: #000000;">
			新增预案成功！！！预案号为：<span id="planID">${PId}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</div>
		<hr />
		<div style="text-align:center;font-size:20px;">定义预案工作流</div>
        <div style="text-align:right;">
<%--            <input type="button" name="tt" value="添加预案环节" class="myBtn" id="addPlanStep" />--%>
        </div>
        <div id="dialog-form" title="添加预案流程环节" style="display: none">
            <iframe frameborder="0" name="addPlanNode" height="220" width="100%" scrolling="no" src="lzm/add_plan_step_frame.jsp" id="addPlanNode">
            </iframe>
        </div>
        <div id="dialog-form1" title="添加预案环节内容" style="display: none">
            <iframe frameborder="0" name="addPlanNode1" height="220" width="100%" scrolling="no" src="lzm/add_plan_step_cnt_frame.jsp" id="addPlanNode1">
            </iframe>
        </div>
        <!--开始-->
        <div id="planStepSure">
        </div>
        <div style="display:none">
            <div id="stepTemplate">
                <div class="stepUtil">
                    <hr/><span class="intStepSP"></span>
                    <div class="pleft">
                        <span class="stepOption">环节名称：</span>
                        <div class="divBorder stepName">
                        </div>
                    </div>
                    <div class="pleft">
                        <span class="stepOption">环节描述：</span>
                        <div class="divBorder stepDesc">
                        </div>
                    </div>
                    <div class="pleft">
                        <span class="stepOption">环节备注：</span>
                        <div class="divBorder stepNote">
                        </div>
                    </div>
                    <div class="pleft">
                        <span class="stepOption">环节内容：</span>
                        <span style="display:none" class="countTag">0</span>
                        <input type="button" name="tt" value="添加环节内容" class="myBtn addPlanStepCnt" style="float:right" />
                        <div id="planStepCntSure" class="divBorder1">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div style="display:none">
            <div id="stepCntTemplate">
                <div class="cntUtil">
                    <hr/><span class="intCntSP"></span>
                    <div class="pleft1">
                        <span class="stepOption">日志类型：</span>
                        <span style="display:none" class="tbLogTypeID"></span>
                        <div class="divBorder tbLogType">
                        </div>
                    </div>
                    <div class="pleft1">
                        <span class="stepOption">步骤内容：</span>
                        <div class="divBorder pscContent">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div style="margin-top:30px;text-align:center;">
<%--            <input type="button" name="button" id="subBtn" value="确定" />--%>
<%--			<input type="button" name="button2" id="button2" value="取消" onclick="window.location.href='save_plan.jsp'" />--%>
				<input type="button" name="button2" id="button2" value="确定" onclick="window.location.href='/ag/lzm/find_plan_pre_report.jsp'" />
        </div>
    </body>
</html>